package com.ssy.wireless.mapper;

import com.ssy.wireless.entity.HotspotTrafficStat;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HotspotTrafficStatMapper {

    int insert(HotspotTrafficStat record);

    HotspotTrafficStat selectExist(@Param("hour") int hour);

    int updateByPrimaryKey(HotspotTrafficStat record);

    List<HotspotTrafficStat> selectStatistics(@Param("params") Map<String, Object> params);

}